home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / Prog / T / Terminal 2.1 Source Code.cpt / Terminal 2.01 Source / Terminal Folder / Hangup +++.s < prev    next >
Encoding:
Text File  |  1990-12-31  |  206 b   |  15 lines  |  [TEXT/PEDT]

  1. /*
  2.     Terminal 2.0
  3.     Script to hangup using software command
  4.  
  5.     "Hangup +++.s"
  6. */
  7.  
  8. main()
  9. {
  10.     type("+++");    /* Go into command mode */
  11.     pause(120);        /* Wait 2 seconds */
  12.     type("ATH0\r");    /* Hang up */
  13.     beep();
  14. }
  15.